package ru.study.thinkin.tests;

import ru.study.thinkin.chapter9.*;

import java.util.Arrays;
import java.util.Random;

interface Q {}


class StaticTest {
	static int id = new Random().nextInt(50);
	
	static int getId () {
		return id ;
	}
	String getValue () {
		return "z6";
	}
}

public class MyTest implements Q {
	Random r1 = new Random();
	int n = new Random().nextInt(5);
	static long id = 50L;	
		
	
	public static void main(String[] args) {
		for(int i =0;i<10;i++) {
			System.out.println(new MyTest().r1.nextInt());
			//System.out.println(new MyTest().n);
		}		
		System.out.println(id++);
		System.out.println(id++);
		System.out.println(id);
		
		MyTest mt = new MyTest();
		
		StaticTest t1 = new StaticTest();
		StaticTest t2 = new StaticTest();
		System.out.println("-=-");
		System.out.println(t1.getId());
		System.out.println(t2.getId());
		
		
		
	}

}
